﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Trade.Controls;
using Trade.DAL;
using Trade.Model;

namespace Trade
{
    public partial class FrmSalesMain : Trade.Controls.RayForm
    {
        public bool condApply = false;
        public string condSalesNo;
        public string condShipFormNo;
        public string condCustomer;
        public string condWarehouse;
        public string condEmployee;
        public DateTime condEntryDate;
        public string condStatus;

        public FrmSalesMain()
        {
            InitializeComponent();
        }

        private void tsbtnRetrieve_Click(object sender, EventArgs e)
        {
            FrmSalesSearchCondition salesCondForm = new FrmSalesSearchCondition();
            salesCondForm.Owner = this;
            salesCondForm.ShowDialog();
        }

        private void tsbtnCreate_Click(object sender, EventArgs e)
        {
            FrmSales salesForm = new FrmSales();
            salesForm.Owner = this;
            salesForm.ShowDialog();
        }
    }
}
